package com.glasses.business.entity;

import java.util.List;

/**
 * Author：邓勇军
 * English Name：Deng,The Sky Fucker!
 * Email：dandycoder@126.com
 * Date：2017/3/23
 * Version：1.0
 */

public class GlassMatch {

    /**
     * isHaveAddress : 1
     * address : {"receiver":"hahaah ","id":1,"address":"地址","phone":"18513978041"}
     * product0 : {"picture":null,"id":1,"price":120,"attributuType":[{"attributuType":"价格","attributuValue":"0-99"},{"attributuType":"尺寸","attributuValue":"S"},{"attributuType":"颜色","attributuValue":"褐色"}],"name":"眼镜架1"}
     * product1 : {"picture":null,"id":6,"price":45,"attributuType":[{"attributuType":null,"attributuValue":null}],"name":"眼镜片1"}
     */

    private AddressBean address;
    private Product0Bean product0;
    private Product1Bean product1;
    private int isHaveProduct1;
    private int isHaveProduct0;
    private String addressForChild;
    private int haveBuy;

    public int getHaveBuy() {
        return haveBuy;
    }

    public void setHaveBuy(int haveBuy) {
        this.haveBuy = haveBuy;
    }

    public int getIsHaveProduct0() {
        return isHaveProduct0;
    }

    public void setIsHaveProduct0(int isHaveProduct0) {
        this.isHaveProduct0 = isHaveProduct0;
    }

    public String getAddressForChild() {
        return addressForChild;
    }

    public void setAddressForChild(String addressForChild) {
        this.addressForChild = addressForChild;
    }

    public int getIsHaveProduct1() {
        return isHaveProduct1;
    }

    public void setIsHaveProduct1(int isHaveProduct1) {
        this.isHaveProduct1 = isHaveProduct1;
    }

    public AddressBean getAddress() {
        return address;
    }

    public void setAddress(AddressBean address) {
        this.address = address;
    }

    public Product0Bean getProduct0() {
        return product0;
    }

    public void setProduct0(Product0Bean product0) {
        this.product0 = product0;
    }

    public Product1Bean getProduct1() {
        return product1;
    }

    public void setProduct1(Product1Bean product1) {
        this.product1 = product1;
    }

    public static class AddressBean {
        /**
         * receiver : hahaah
         * id : 1
         * address : 地址
         * phone : 18513978041
         */

        private String receiver;
        private int id;
        private String address;
        private String phone;

        public String getReceiver() {
            return receiver;
        }

        public void setReceiver(String receiver) {
            this.receiver = receiver;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }
    }

    public static class Product0Bean {
        /**
         * picture : null
         * id : 1
         * price : 120
         * attributuType : [{"attributuType":"价格","attributuValue":"0-99"},{"attributuType":"尺寸","attributuValue":"S"},{"attributuType":"颜色","attributuValue":"褐色"}]
         * name : 眼镜架1
         */

        private String picture;
        private int id;
        private double price;
        private String name;
        private List<AttributuTypeBean> attributuType;

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<AttributuTypeBean> getAttributuType() {
            return attributuType;
        }

        public void setAttributuType(List<AttributuTypeBean> attributuType) {
            this.attributuType = attributuType;
        }

        public static class AttributuTypeBean {
            /**
             * attributuType : 价格
             * attributuValue : 0-99
             */

            private String attributuType;
            private String attributuValue;

            public String getAttributuType() {
                return attributuType;
            }

            public void setAttributuType(String attributuType) {
                this.attributuType = attributuType;
            }

            public String getAttributuValue() {
                return attributuValue;
            }

            public void setAttributuValue(String attributuValue) {
                this.attributuValue = attributuValue;
            }
        }
    }

    public static class Product1Bean {
        /**
         * picture : null
         * id : 6
         * price : 45
         * attributuType : [{"attributuType":null,"attributuValue":null}]
         * name : 眼镜片1
         */

        private String picture;
        private int id;
        private double price;
        private String name;
        private List<AttributuTypeBeanX> attributuType;

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<AttributuTypeBeanX> getAttributuType() {
            return attributuType;
        }

        public void setAttributuType(List<AttributuTypeBeanX> attributuType) {
            this.attributuType = attributuType;
        }

        public static class AttributuTypeBeanX {
            /**
             * attributuType : null
             * attributuValue : null
             */

            private String attributuType;
            private String attributuValue;

            public String getAttributuType() {
                return attributuType;
            }

            public void setAttributuType(String attributuType) {
                this.attributuType = attributuType;
            }

            public String getAttributuValue() {
                return attributuValue;
            }

            public void setAttributuValue(String attributuValue) {
                this.attributuValue = attributuValue;
            }
        }
    }
}
